package com.wr.auth.domain.wx;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * @author MyPC
 */
@Data
@Schema(description = "微信小程序登录实体")
public class AppletLogin {

    @Schema(description = "获取到的sessionKey")
    @NotBlank(message = "sessionKey不能为空")
    private String sessionKey;
    @Schema(description = "获取到的encryptedData")
    @NotBlank(message = "encryptedData不能为空")
    private String encryptedData;
    @Schema(description = "获取到的iv")
    @NotBlank(message = "iv不能为空")
    private String iv;
    @Schema(description = "获取到的signature")
    @NotBlank(message = "signature不能为空")
    private String signature;
}
